package com.dragon.mmochat.model.enumType;

public enum MmochatBigMoneyDealState {
	交易中(0), 交易结束(1);

	int key;

	MmochatBigMoneyDealState(int k) {
		key = k;
	}

	public int getKey() {
		return key;
	}

	public static MmochatBigMoneyDealState get(int k) {
		for (MmochatBigMoneyDealState type : MmochatBigMoneyDealState.values()) {
			if (type.getKey() == k) {
				return type;
			}
		}
		return null;
	}
}
